#ifndef FACTORY_INFO_H
#define FACTORY_INFO_H

#include <stdint.h>
#include <stdbool.h>

#define FLASH_FACTORY_INFO_ADDRESS		( 0x08002400 )		
#define FLASH_APPLICATION_ADDRESS		( 0x08002800 )

#define NAK_TIMEOUT						( 0x100000)

struct factory_info {
	char firmware_version[12]; 			             
	char firmware_publish_date[12];		               
	uint32_t firmware_upgrade_flag;
};

struct cmds {
	uint8_t id;
	char *name;
};

void factory_info_handle(void);

#endif
